﻿using AlgorithmExamples.字符串类算法;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AlgorithmExamples
{
    internal class Program
    {
        static void Main(string[] args)
        {

            //LongestSubstring longStr=new LongestSubstring("fixprefixsuffix");
            //longStr=new LongestSubstring("abcdabc");
            //longStr=new LongestSubstring("aaaaa");

            FindShortestSubstringContainingTarget find = new FindShortestSubstringContainingTarget("abc", "ac");

            FindShortestSubstringContainingTarget find2 =new FindShortestSubstringContainingTarget("adobecodebanc", "abc");
            FindShortestSubstringContainingTarget find3 =new FindShortestSubstringContainingTarget("abc", "aa");


            Console.ReadKey();



        }
    }
}
